interface IState {
  loadStatus: {
    echarts?: boolean;
    hcharts?: boolean;
    three?: boolean;
    d3?: boolean;
    html?: boolean;
  }
}

interface IProps {

}
/**
 * 模块管理
 */
class ModulesLoadManage implements IState{
  public loadStatus = {
    d3: false,
    html: true,
    hcharts: false,
    echarts: false,
    three: false,
  }
  constructor({}: IProps) {
    // 模块加载状态

  }

  echarts(){
    if(this.loadStatus.echarts) return;

  }

  d3(){
    if(this.loadStatus.d3) return;
  }

  hcharts(){
    if(this.loadStatus.hcharts) return;
  }

  html(){
    if(this.loadStatus.html) return;
  }

  three(){
    if(this.loadStatus.three) return;
  }

}

export default new ModulesLoadManage();

